package welsir.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import welsir.entity.dos.Setting;
import welsir.mapper.SettingMapper;
import welsir.service.ISettingService;

import javax.annotation.Resource;

/**
 * @author Genius
 * @date 2023/03/07 16:22
 **/
@Service
public class ISettingServiceImpl extends ServiceImpl<SettingMapper, Setting> implements ISettingService {

    @Resource
    SettingMapper mapper;


    @Override
    public Setting selectOne() {
        return mapper.selectOne(null);
    }
}
